<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过载了</title>
</head>
<body>
<button id="button">敢开老娘草拟吗</button>
</body>
<script>
    function makeFunc() {
        let count = 1;
        return function () {
            console.log(count);
            count++
        }
    }

    let myFunc = makeFunc();

    document.getElementById('button').addEventListener('click',myFunc)

    let first
    let rest
    console.log(first === undefined)
</script>
</html>